<?php
class Nav_model extends CI_Model {
    public function get_entries(){
        $query = $this->db->get('nav');
        return $query->result();
    }
}